﻿<!DOCTYPE html>
<html>
<head>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport" charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>纵横淘客系统@(ViewBag.Title)</title>
    <link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/bootstrap/3.3.1/css/bootstrap.min.css" />
    <script src="~/js/demo-rtl.js"></script>
    <link rel="stylesheet" type="text/css" href="~/css/libs/font-awesome.css" />
    <link rel="stylesheet" type="text/css" href="~/css/libs/nanoscroller.css" />
    <link rel="stylesheet" type="text/css" href="~/css/compiled/theme_styles.css" />
    <link rel="stylesheet" type="text/css" href="~/css/libs/nifty-component.css" />
    <link rel="stylesheet" href="~/css/libs/daterangepicker.css" type="text/css" />
    <link rel="stylesheet" href="~/css/libs/jquery-jvectormap-1.2.2.css" type="text/css" />
    <link rel="stylesheet" href="~/css/libs/weather-icons.css" type="text/css" />
    <link rel="stylesheet" href="~/css/libs/morris.css" type="text/css" />
    <link href="~/css/libs/css-family.css" rel='stylesheet' type='text/css'>
    @RenderSection("Styles", required: false)
    <!--[if lt IE 9]>
            <script src="~/js/html5shiv.js" ></script>
            <script src="~/js/respond.min.js"></script>
        <![endif]-->
</head>
<body>
    <div id="theme-wrapper">
        <header class="navbar" id="header-navbar">
            <div class="container">
                <a href="index.html" id="logo" class="navbar-brand">
                    <img src="~/img/logo.png" alt="" class="normal-logo logo-white" />
                    <img src="~/img/logo-black.png" alt="" class="normal-logo logo-black" />
                    <img src="~/img/logo-small.png" alt="" class="small-logo hidden-xs hidden-sm hidden" />
                </a>
                <div class="clearfix">
                    <button class="navbar-toggle" data-target=".navbar-ex1-collapse" data-toggle="collapse" type="button">
                        <span class="sr-only">切换导航</span>
                        <span class="fa fa-bars"></span>
                    </button>
                    <div class="nav-no-collapse navbar-left pull-left hidden-sm hidden-xs">
                        <ul class="nav navbar-nav pull-left">
                            <li>
                                <a class="btn" id="make-small-nav">
                                    <i class="fa fa-bars"></i>
                                </a>
                            </li>
                        </ul>
                    </div>
                    <div class="nav-no-collapse pull-right" id="header-nav">
                        <ul class="nav navbar-nav pull-right">
                            <li class="dropdown profile-dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    @*<img src="~/img/samples/scarlet-159.png" alt="" />*@
                                    <img alt="" src="~/img/head.png" />
                                    <span class="hidden-xs">@ViewBag.NickName</span> <b class="caret"></b>
                                </a>
                                <ul class="dropdown-menu">
                                    <li><a href="/pwd.html"><i class="fa fa-user"></i>修改密码</a></li>
                                    @*<li><a href="#"><i class="fa fa-cog"></i>设置</a></li>*@
                                    <li><a href="#"><i class="fa fa-envelope-o"></i>消息</a></li>
                                    <li><a href="/loginout.html"><i class="fa fa-power-off"></i>退出</a></li>
                                </ul>
                            </li>

                        </ul>
                    </div>
                </div>
            </div>
        </header>
        <div id="page-wrapper" class="container">
            <div class="row">
                <div id="nav-col">
                    <section id="col-left" class="col-left-nano">
                        <div id="col-left-inner" class="col-left-nano-content">
                            <div id="user-left-box" class="clearfix hidden-sm hidden-xs dropdown profile2-dropdown">
                                <img alt="" src="~/img/head.png" />
                                <div class="user-box" style="padding-left: 9px">
                                    <span class="name">
                                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                            @ViewBag.NickName
                                            <i class="fa fa-angle-down"></i>
                                        </a>
                                        <ul class="dropdown-menu">
                                            <li><a href="/pwd.html"><i class="fa fa-user"></i>修改密码</a></li>
                                            @*<li><a href="#"><i class="fa fa-cog"></i>设置</a></li>*@
                                            <li><a href="#"><i class="fa fa-envelope-o"></i>消息</a></li>
                                            <li><a href="/loginout.html"><i class="fa fa-power-off"></i>退出</a></li>
                                        </ul>
                                    </span>
                                    <span class="status">
                                        <i class="fa fa-circle"></i> 在线
                                    </span>
                                </div>
                            </div>
                            <div class="collapse navbar-collapse navbar-ex1-collapse" id="sidebar-nav">

                                @{
                                    string ControllerName = Html.GetControllerName().ToLower();
                                    string actionName = Html.GetaAtionName().ToLower();
                                }
                                <ul class="nav nav-pills nav-stacked">
                                    <li @if (ControllerName == "home" && actionName == "index") { @Html.Raw("class='active'") }>
                                        <a href="/index.html">
                                            <i class="fa fa-dashboard"></i>
                                            <span>首页</span>
                                            <span class="label label-primary label-circle pull-right"></span>
                                        </a>
                                    </li>

                                    <li @if (ControllerName == "robot" || ControllerName == "role" || ControllerName == "sysconfig") { @Html.Raw("class='active'")   }>
                                        <a href="#" class="dropdown-toggle">
                                            <i class="fa fa-gear (alias)"></i>
                                            <span>系统管理</span>
                                            <i class="fa fa-angle-right drop-icon"></i>
                                        </a>
                                        <ul class="submenu">
                                            <li @if (ControllerName == "role") { @Html.Raw("class='active'")    }>
                                                <a href="/roles.html">
                                                    群组管理
                                                </a>
                                            </li>
                                            <li @if (ControllerName == "robot") { @Html.Raw("class='active'")     }>
                                                <a href="/robots.html">
                                                    机器人管理
                                                </a>
                                            </li>
                                            <li @if (ControllerName == "sysconfig") { @Html.Raw("class='active'")      }>
                                                <a href="/editSysConfig.html">
                                                    站点配置
                                                </a>
                                            </li>
                                            <li @if (actionName == "message") { @Html.Raw("class='active'")       }>
                                                <a href="/message.html">
                                                    消息群发
                                                </a>
                                            </li>
                                            <li @if (actionName == "ConventLink") { @Html.Raw("class='active'")        }>
                                                <a href="/ConventLink.html">
                                                    链接转换
                                                </a>
                                            </li>
                                            <li @if (actionName == "searchkeyword")
                                                { @Html.Raw("class='active'")         }>
                                                <a href="/SearchKeyWord.html">
                                                    搜索关键词
                                                </a>
                                            </li>
                                            @*<li @if (actionName == "tag")
                                                { @Html.Raw("class='active'")          }>
                                                <a href="/Tag.html">
                                                    轮播图
                                                </a>
                                            </li>*@
                                        </ul>
                                    </li>
                                    <li @if (ControllerName == "tbkItems") { @Html.Raw("class='active'")  }>
                                        <a href="/goods.html">
                                            <i class="fa fa-cube"></i>
                                            <span>产品管理</span>
                                            <span class="label label-primary label-circle pull-right"></span>
                                        </a>
                                    </li>
                                    <li @if (ControllerName == "mygoods"){ @Html.Raw("class='active'")   }>
                                        <a href="/mygoods.html">
                                            <i class="fa fa-cubes"></i>
                                            <span>我的商品</span>
                                            <span class="label label-primary label-circle pull-right"></span>
                                        </a>
                                    </li>

                                    <li @if (ControllerName == "ntbkorders") { @Html.Raw("class='active'")   }>
                                        <a href="/tbkorders.html">
                                            <i class="fa  fa-reorder (alias)"></i>
                                            <span>订单管理</span>
                                            <span class="label label-primary label-circle pull-right"></span>
                                        </a>
                                    </li>
                                    <li @if (ControllerName == "agencyusers") { @Html.Raw("class='active'")    }>
                                        <a href="/AgencyUsers.html">
                                            <i class="fa fa-user"></i>
                                            <span>代理管理</span>
                                            <span class="label label-primary label-circle pull-right"></span>
                                        </a>
                                    </li>
                                    <li @if (ControllerName == "agencyrobot") { @Html.Raw("class='active'")     }>
                                        <a href="/AgencyRobot.html">
                                            <i class="fa fa-user"></i>
                                            <span>代理绑定管理</span>
                                            <span class="label label-primary label-circle pull-right"></span>
                                        </a>
                                    </li>

                                    <li @if (ControllerName == "alimamas") { @Html.Raw("class='active'")    }>
                                        <a href="/alimamas.html">
                                            <i class="fa fa-life-bouy (alias)"></i>
                                            <span>联盟账号管理</span>
                                            <span class="label label-primary label-circle pull-right"></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a href="#">
                                            <i class="fa fa-weixin"></i>
                                            <span>微信管理</span>
                                            <span class="label label-primary label-circle pull-right"></span>
                                        </a>
                                    </li>
                                
                                    <li @if (ControllerName == "statistic")
                                        { @Html.Raw("class='active'")    }>
                                        <a href="#" class="dropdown-toggle">
                                            <i class="fa fa-bar-chart-o"></i>
                                            <span>统计管理</span>
                                            <span class="label label-primary label-circle pull-right"></span>
                                        </a>
                                        <ul class="submenu">
                                            <li @if (actionName == "incomelist")
                                                { @Html.Raw("class='active'")     }>
                                                <a href="/Income.html">
                                                    个人推广详情
                                                </a>
                                            </li>
                                            <li @if (actionName == "incomestatlist")
                                                { @Html.Raw("class='active'")      }>
                                                <a href="/IncomeStat.html">
                                                    个人推广统计
                                                </a>
                                            </li>
                                            <li @if (actionName == "payanalysis")
                                                { @Html.Raw("class='active'")       }>
                                                <a href="/PayAnalysis.html">
                                                    推广收入统计
                                                </a>
                                            </li>

                                            
                                        </ul>
                                    </li>
                                    

                                  
                                </ul>
                            </div>
                        </div>
                    </section>
                    <div id="nav-col-submenu"></div>
                </div>
                <div id="content-wrapper">
                    @RenderBody()

                </div>
            </div>
        </div>
    </div>
    <div id="config-tool" class="closed">
        <a id="config-tool-cog">
            <i class="fa fa-cog"></i>
        </a>
        <div id="config-tool-options">
            <h4>布局选项</h4>
            <ul>
                <li>
                    <div class="checkbox-nice">
                        <input type="checkbox" id="config-fixed-header" />
                        <label for="config-fixed-header">
                            固定头
                        </label>
                    </div>
                </li>
                <li>
                    <div class="checkbox-nice">
                        <input type="checkbox" id="config-fixed-sidebar" />
                        <label for="config-fixed-sidebar">
                            固定左侧菜单
                        </label>
                    </div>
                </li>
                <li>
                    <div class="checkbox-nice">
                        <input type="checkbox" id="config-fixed-footer" />
                        <label for="config-fixed-footer">
                            固定底部
                        </label>
                    </div>
                </li>
                <li>
                    <div class="checkbox-nice">
                        <input type="checkbox" id="config-boxed-layout" />
                        <label for="config-boxed-layout">
                            盒装布局
                        </label>
                    </div>
                </li>
                <li>
                    <div class="checkbox-nice">
                        <input type="checkbox" id="config-rtl-layout" />
                        <label for="config-rtl-layout">
                            右到左
                        </label>
                    </div>
                </li>
            </ul>
            <br />
            <h4>皮肤颜色</h4>
            <ul id="skin-colors" class="clearfix">
                <li>
                    <a class="skin-changer" data-skin="theme-navyBlue" data-toggle="tooltip" title="Navy Blue" style="background-color: #34495e;">
                    </a>
                </li>
                <li>
                    <a class="skin-changer" data-skin="theme-white" data-toggle="tooltip" title="White/Green" style="background-color: #2ecc71;">
                    </a>
                </li>
                <li>
                    <a class="skin-changer blue-gradient" data-skin="theme-blue-gradient" data-toggle="tooltip" title="Gradient">
                    </a>
                </li>
                <li>
                    <a class="skin-changer" data-skin="theme-greenSea" data-toggle="tooltip" title="Green Sea" style="background-color: #6ff3ad;">
                    </a>
                </li>
                <li>
                    <a class="skin-changer" data-skin="theme-amethyst" data-toggle="tooltip" title="Amethyst" style="background-color: #9b59b6;">
                    </a>
                </li>
                <li>
                    <a class="skin-changer" data-skin="theme-blue" data-toggle="tooltip" title="Blue" style="background-color: #7FC8BA;">
                    </a>
                </li>
                <li>
                    <a class="skin-changer" data-skin="theme-red" data-toggle="tooltip" title="Red" style="background-color: #e74c3c;">
                    </a>
                </li>
                <li>
                    <a class="skin-changer" data-skin="theme-whbl" data-toggle="tooltip" title="White/Blue" style="background-color: #1ABC9C;">
                    </a>
                </li>
            </ul>
        </div>
    </div>
    @*皮肤*@
    <script src="~/js/demo-skin-changer.js"></script>
    <script src="~/js/jquery.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
    @*滚动条*@
    <script src="~/js/jquery.nanoscroller.min.js"></script>
    <script src="~/js/demo.js"></script>
    <script src="http://cdn.bootcss.com/jquery-scrollto/1.4.6/jquery-scrollto.min.js"></script>
    <script src="~/js/jquery.slimscroll.min.js"></script>@*鼠标滚轮*@
    @*日期处理类库*@
    @*<script src="~/js/moment.min.js"></script>*@
    @*<script src="~/js/jquery-jvectormap-1.2.2.min.js"></script>@*地图插件*@
    @*<script src="~/js/jquery-jvectormap-world-merc-en.js"></script>*@
    @*地图位置*@
    @*<script src="~/js/gdp-data.js"></script>*@
    @*统计*@
    @*<script src="~/js/flot/jquery.flot.min.js"></script>
        @*<script src="~/js/flot/jquery.flot.resize.min.js"></script>
        <script src="~/js/flot/jquery.flot.time.min.js"></script>
        <script src="~/js/flot/jquery.flot.threshold.js"></script>
        <script src="~/js/flot/jquery.flot.axislabels.js"></script>*@
    @*线状图插件*@
    @*<script src="~/js/jquery.sparkline.min.js"></script>*@
    @*<script src="~/js/skycons.js"></script>天气*@
    @*拖拽高亮*@
    @*<script src="~/js/raphael-min.js"></script>*@
    @*<script src="js/morris.js" ></script>*@
    @*弹窗*@
    @*<script src="~/js/modalEffects.js"></script>*@
    @*HTML5和CSS3开发的功能检测类库*@
    @*<script src="~/js/modernizr.custom.js"></script>*@
    @*<script src="~/js/classie.js"></script>*@
    <script src="~/js/scripts.js"></script>
    @*页面加载进度条*@
    @*<script src="~/js/pace.min.js"></script>*@
    @*<script src="~/js/validator.js"></script>*@

    <script type="text/javascript" src="//cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.js">

     
    </script>
    @RenderSection("Scripts", required: false)
</body>
</html>